package com.xbongbong.paas.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * 删除角色DTO
 * @author kaka
 * @time 2018-9-6 20:01
 */
@Getter
@Setter
@ToString
public class RoleDeleteDTO extends BaseDTO {

    private static final long serialVersionUID = -459424131842350989L;

    /**
     * 需要删除的角色id
     */
    @NotNull(message = "{dto.msg.roleDelete.roleId.NotNull}")
    private Integer roleId;
}
